// pages/user/index.js
Page({
  handlelogin(e){
    const userInfo = e.detail.userInfo;
    console.log(userInfo)
    wx.setStorageSync('userInfo',userInfo);
    wx.navigateBack({
      delta:1,
    });
  }
})